Skip to content

feat: Move audio settings to config.h Form Editor and add Hardware tab#919

Merged
yoichiro merged 1 commit intomainfrom
feature/workbench-audio-config-h
Mar 27, 2026
Merged

feat: Move audio settings to config.h Form Editor and add Hardware tab#919
yoichiro merged 1 commit intomainfrom
feature/workbench-audio-config-h

Conversation

@yoichiro
Copy link
Copy Markdown
Collaborator

@yoichiro yoichiro commented Mar 27, 2026

Summary

  • Remove Audio tab from keyboard.json Form Editor (QMK firmware ignores audio.pins in keyboard.json)
  • Add Audio tab to config.h Form Editor with: AUDIO_PIN, AUDIO_PIN_ALT, AUDIO_DRIVER (freeSolo autocomplete), AUDIO_VOICES, AUDIO_INIT_DELAY
  • Add Hardware tab to config.h Form Editor with: USB_VBUS_PIN
  • Rename keyboard.json's Input tab back to Encoder and restore tab index to 5
  • All audio configuration is now consolidated in config.h for clarity

Test plan

  • Open keyboard.json → Form Editor → verify Audio tab is gone, Encoder tab exists at position 5
  • Open config.h → Form Editor → verify Hardware tab with USB_VBUS_PIN field
  • Open config.h → Form Editor → verify Audio tab with AUDIO_PIN, AUDIO_PIN_ALT, AUDIO_DRIVER, AUDIO_VOICES, AUDIO_INIT_DELAY
  • Set AUDIO_DRIVER via dropdown selection (e.g. pwm_hardware) → verify in Code Editor
  • Type custom AUDIO_DRIVER value → verify freeSolo input works
  • Toggle AUDIO_VOICES → verify #define AUDIO_VOICES appears/disappears in Code Editor
  • Set USB_VBUS_PIN to GP19 → verify #define USB_VBUS_PIN GP19 in Code Editor
  • Verify Japanese locale for all new labels and descriptions

🤖 Generated with Claude Code

…ware tab

Remove Audio tab from keyboard.json Form Editor since QMK firmware ignores
audio.pins in keyboard.json. Add Audio and Hardware tabs to config.h Form
Editor instead, consolidating all audio settings (AUDIO_PIN, AUDIO_PIN_ALT,
AUDIO_DRIVER with freeSolo autocomplete, AUDIO_VOICES, AUDIO_INIT_DELAY)
in one place. Add Hardware tab with USB_VBUS_PIN for split keyboard host
detection. Rename keyboard.json Input tab back to Encoder.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yoichiro yoichiro merged commit 9c216eb into main Mar 27, 2026
1 check passed
@yoichiro yoichiro deleted the feature/workbench-audio-config-h branch March 27, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant